/*预设样式*/

* {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    min-width: 1090px;
    background-color: #fff;
    font-family: "Microsoft Yahei", "微软雅黑", verdana;
    color: #333;
    font-size: 12px;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.c {
    clear: both;
}


/*yx-cp-base*/

#yx-cp-base {
    height: 36px;
    background-color: #333;
    line-height: 36px;
    color: #5c5c5c;
}

.yx-cp-row {
    width: 1090px;
    margin: 0 auto;
    /*居中*/
    position: relative;
}

#yx-cp-base ul {
    float: right;
}

#yx-cp-base ul li {
    display: inline-block;
    padding-right: 7px;
}

#yx-cp-base ul li a {
    color: #ccc;
    display: inline-block;
    margin-right: 9px;
}

#yx-cp-base ul li a i {
    color: #fff;
}

#yx-cp-base ul li a:hover {
    color: #fff;
}


/*yx-cp-functab*/

#yx-cp-functab {
    height: 140px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
}

#yx-cp-logo {
    background: url('../img/严选素材/1.网易严选logo.png') no-repeat;
    width: 212px;
    height: 60px;
    position: absolute;
    top: 21px;
}

#yx-cp-search {
    position: absolute;
    top: 26px;
    left: 380px;
}

#yx-cp-search-1 {
    border: 1px solid #cc9756;
    width: 396px;
    height: 36px;
    outline: none;
    border-top-left-radius: 19px;
    border-bottom-left-radius: 19px;
    float: left;
    padding-left: 42px;
}

#yx-cp-search-2 {
    width: 90px;
    height: 38px;
    border: none;
    background-color: #cc9756;
    color: #fff;
    font-size: 16px;
    border-top-right-radius: 19px;
    border-bottom-right-radius: 19px;
}

#yx-cp-search i {
    font-size: 16px;
    color: #e7e7e7;
    position: absolute;
    top: 11px;
    left: 20px;
}

#yx-cp-search p {
    margin-left: 20px;
    line-height: 26px;
}

#yx-cp-search p a {
    color: #cc9756;
}

#yx-cp-cart {
    width: 134px;
    height: 38px;
    border: 1px solid #cc9756;
    border-radius: 19px;
    position: absolute;
    right: 0;
    top: 26px;
    line-height: 38px;
    text-align: center;
    color: #cc9756;
    font-size: 14px;
}

#yx-cp-cart i {
    font-size: 20px;
    color: #cc9756;
}

#yx-cp-cart span {
    display: inline-block;
    width: 19px;
    height: 19px;
    background-color: rgb(223, 0, 0);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
}

#yx-cp-user {
    height: 30px;
    position: absolute;
    top: 106px;
    line-height: 34px;
    font-size: 14px;
    font-weight: bold;
}

#yx-cp-user ul {}

#yx-cp-user ul li {
    display: inline-block;
    padding: 0 24px;
}

#yx-cp-user ul li:first-child {
    padding-left: 0;
}

#yx-cp-user ul li:last-child {
    padding-right: 0;
}

#yx-cp-user ul li.active a {
    color: #cc9756;
    border-bottom: 3px solid #cc9756;
}

#yx-cp-user ul li a {
    color: black;
    padding: 5px 0;
}

#yx-cp-user ul li a:hover {
    color: #cc9756;
    border-bottom: 3px solid #cc9756;
}

#g-bg {
    height: 420px;
}

.www51buycom {
    width: 100%;
    height: 420px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}


/*数字按钮样式*/

.www51buycom .num {
    overflow: hidden;
    height: 25px;
    position: absolute;
    bottom: 12px;
    left: 15px;
    zoom: 1;
    z-index: 3
}

.www51buycom .num li {
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-weight: 400;
    font-family: "微软雅黑", Arial;
    color: #FFFFFF;
    background: #444444;
    margin-right: 10px;
    border-radius: 50%;
    cursor: pointer;
    float: left;
}

.www51buycom .num li.on {
    background: #FF7700;
}


/*当前项*/


/*上一个  下一个*/

.www51buycom .prev,
.www51buycom .next {
    display: none;
    width: 40px;
    height: 100px;
    background: url(../img/btn.png) no-repeat;
    position: absolute;
    top: 115px;
}

.www51buycom .prev {
    left: 0;
}

.www51buycom .next {
    right: 0;
    background-position: right
}

.www51buycom img {
    transform: translateX(-200px);
}

#m-indexSideBar {
    width: 110px;
    position: fixed;
    left: 50%;
    margin-left: -680px;
    top: 500px;
    border: 1px solid #E2DED6;
    border-radius: 4px;
    background: #fff;
}

#m-indexSideBar-title {
    height: 38px;
    background: url('../img/严选素材/热销榜.webp');
    line-height: 38px;
    text-align: center;
    font-size: 16px;
    color: #BB3343;
    font-weight: bold;
}

#m-indexSideBar ul li {
    height: 36px;
    overflow: hidden;
    position: relative;
}

#m-indexSideBar ul li img {
    width: 30px;
    height: 30px;
    float: left;
    margin: 3px 6px;
}

#m-indexSideBar ul li p:first-of-type {
    margin-top: 2px;
}

#m-indexSideBar ul li:not(:last-of-type)::after {
    content: '';
    display: block;
    width: 88px;
    border-bottom: 1px solid #E2DED6;
    position: absolute;
    left: 11px;
    z-index: 1;
}

#cp-new {
    height: 510px;
    margin-top: 30px;
}

.cp-new-title {
    height: 48px;
    margin-bottom: 20px;
}

.cp-new-title h3 {
    float: left;
    font-size: 30px;
}

.cp-new-title h3 span {
    font-weight: 500;
    font-size: 14px;
    margin-left: 20px;
    color: #000;
}

.f-right {
    float: right;
    font-size: 14px;
    margin-top: 16px;
}

.cp-new-newlist-item {
    width: 265px;
    margin-right: 10px;
    height: 364px;
    background-color: #f1f1f1;
    float: left;
    text-align: center;
}

.cp-new-newlist-item:hover {
    box-shadow: 1px 1px 8px rgba(0, 0, 0, .2);
    background-color: #f4f0ea;
}

.cp-new-newlist-item:last-child {
    margin-right: 0px;
}

.cp-new-newlist-item-img {
    width: 265px;
    height: 265px;
}

.cp-new-newlist-item-img.i1 {
    background-image: url('../img/严选素材/新品首发1-0.webp');
}

.cp-new-newlist-item-img.i1:hover {
    background-image: url('../img/严选素材/新品首发1-1.webp');
}

.cp-new-newlist-item-img.i2 {
    background-image: url('../img/严选素材/新品首发2-0.webp');
}

.cp-new-newlist-item-img.i2:hover {
    background-image: url('../img/严选素材/新品首发2-1.webp');
}

.cp-new-newlist-item-img.i3 {
    background-image: url('../img/严选素材/新品首发3-0.webp');
}

.cp-new-newlist-item-img.i3:hover {
    background-image: url('../img/严选素材/新品首发3-1.webp');
}

.cp-new-newlist-item-img.i4 {
    background-image: url('../img/严选素材/新品首发4-0.webp');
}

.cp-new-newlist-item-img.i4:hover {
    background-image: url('../img/严选素材/新品首发4-1.webp');
}

.tags span {
    background-color: #e36844;
    color: #fff;
    display: inline-block;
    width: 34px;
    height: 20px;
    line-height: 20px;
    margin: 8px 0;
}

.cp-new-newlist-item-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.cp-new-newlist-item-price {
    font-size: 13px;
    color: #d4252d;
}

.cp-new-newlist-item-price span {
    font-size: 12px;
    color: #ccc;
    text-decoration: line-through;
}


/*m-indexPopular*/

#m-indexPopular {
    padding: 60px 0;
    height: 618px;
    background-color: #f4f0ea;
}

#m-indexPopular a {
    color: #333;
    font-size: 14px;
    position: relative;
    top: -8px;
    margin: 0 20px;
}

#m-indexPopular a:hover {
    color: #b4a078;
    border-bottom: 2px solid #b4a078;
    padding-bottom: 4px;
}

#m-indexPopular a.active {
    color: #b4a078;
    border-bottom: 2px solid #b4a078;
    padding-bottom: 4px;
}

#m-product-left {
    width: 390px;
    height: 570px;
    float: left;
    background-color: #fff;
    text-align: center;
}

#m-product-right {
    width: 700px;
    height: 570px;
    float: right;
    text-align: center;
}

.m-product-right-item {
    width: 223px;
    height: 280px;
    background-color: #fff;
    float: left;
    margin-left: 10px;
    margin-bottom: 10px;
}

.m-product-left-img {
    width: 390px;
    height: 390px;
    background: url('../img/796b97e141f984753703a183d2db06c7.webp\ \(1\).png') no-repeat;
    background-position: center;
    background-size: 90%;
    /*在设置transition时需要在原来的盒子里也需要有这个属性*/
    border-bottom: 1px solid #f4f0ea;
}

.m-product-left-img:hover {
    -webkit-transition: background-size 2s;
    transition: background-size 2s;
    background-size: 105%;
}

.m-product-left-title {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    line-height: 26px;
    margin-top: 50px;
}

.m-product-left-price {
    font-size: 18px;
    color: #d4282d;
    margin-top: 15px;
}

.m-product-right-item-img {
    width: 223px;
    height: 180px;
    position: relative;
}

.m-product-right-item-img.i5 {
    background: url('../img/e3fdeaf58254e6016666f560347dbe56.png') no-repeat;
    background-position: center;
    background-size: 80%;
}

.m-product-right-item-img-1 {
    position: absolute;
    top: 5px;
    left: 5px;
}

.m-product-right-item-img-1 img {
    width: 63px;
    height: 60px;
}

.m-product-right-item-img-2 {
    width: 70px;
    height: 36px;
    background: url('../img/d71e2460d062eaa21d5bdf97eba9da89.png') no-repeat;
    background-size: 70px 36px;
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 6;
}

.m-product-right-item-img-3 {
    height: 30px;
    width: 193px;
    padding-left: 30px;
    color: #fff;
    background-color: red;
    position: absolute;
    bottom: 0;
    line-height: 30px;
    z-index: 5;
}


/*m-indexCate*/

#m-indexCate {
    margin-top: 55px;
}

#m-indexCate ul {
    display: inline-block;
    margin-left: 230px;
    position: relative;
    top: -2px;
}

#m-indexCate ul li {
    display: inline-block;
    font-size: 14px;
}

#m-indexCate ul li a {
    margin-right: 12px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.banner {
    background: url('../img/jjhw.webp.jpg');
    height: 310px;
}

.m-indexCate-menu {
    margin-top: 20px;
    text-align: center;
}

.m-indexCate-menu .m-product-right-item {
    width: 265px;
    height: 361px;
    margin-left: 0;
    margin-right: 10px;
}

.m-indexCate-menu .m-product-right-item.l {
    margin-right: 0px;
}

.m-indexCate-menu .m-product-right-item .m-product-right-item-img {
    width: 265px;
    height: 265px;
}

.m-indexCate-menu .m-product-right-item .m-product-right-item-img.i5 {
    background: url('../img/严选素材/新品首发2-1.webp');
    background-size: 100%;
}

.m-indexCate-menu .m-product-right-item .m-product-right-item-img-3 {
    width: 265px;
    padding-left: 0;
}


/*j-YXComponentFont*/


/*yx-cp-m-ft1*/

#yx-cp-m-ft1 {
    height: 215px;
    padding: 60px 0 24px 0;
    border-top: 1px solid #e8e8e8;
}

.yx-cp-m-ft1-item {
    width: 33%;
    float: left;
    height: 215px;
    border-right: 1px solid #e8e8e8;
    text-align: center;
}

.yx-cp-m-ft1-item:last-child {
    border-right: none;
}

.yx-cp-m-ft1-item h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 25px;
}

.yx-cp-m-ft1-item p {
    padding: 0 30px;
    word-wrap: break-word;
}


/*yx-cp-m-ft2*/

#yx-cp-m-ft2 {
    height: 300px;
    background-color: #414141;
    padding-top: 37px;
}

.yx-cp-m-ft2-1 {
    padding-bottom: 30px;
    border: 1px solid #4f4f4f;
    margin-bottom: 27px;
}

#yx-cp-m-ft2 .yx-cp-m-ft2-1-item {
    height: 51px;
    width: 25%;
    float: left;
}